function abc({a = 1}) {
  console.log(a); //1
}

abc(); // TypeError: Cannot destructure property `a` of 'undefined' or 'null'.
abc({});
